package c.e.a.b.f.b;

import android.os.RemoteException;
import c.e.a.b.e.c.hc;
import com.google.android.gms.measurement.internal.zzn;
import java.util.ArrayList;

/* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */
public final class i8 implements Runnable {
    public final /* synthetic */ String a;
    public final /* synthetic */ String b;
    public final /* synthetic */ zzn c;
    public final /* synthetic */ hc d;
    public final /* synthetic */ q7 e;

    public i8(q7 q7Var, String str, String str2, zzn zzn, hc hcVar) {
        this.e = q7Var;
        this.a = str;
        this.b = str2;
        this.c = zzn;
        this.d = hcVar;
    }

    public final void run() {
        ArrayList arrayList = new ArrayList();
        try {
            q7 q7Var = this.e;
            i3 i3Var = q7Var.d;
            if (i3Var == null) {
                q7Var.d().f.c("Failed to get conditional properties; not connected to service", this.a, this.b);
                return;
            }
            arrayList = t9.j0(i3Var.H0(this.a, this.b, this.c));
            this.e.F();
            this.e.k().N(this.d, arrayList);
        } catch (RemoteException e) {
            this.e.d().f.d("Failed to get conditional properties; remote exception", this.a, this.b, e);
        } finally {
            this.e.k().N(this.d, arrayList);
        }
    }
}
